/*
 * Copyright (c) 2006-2020, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-07-05     wcc       the first version
 * 2020-12-19     wat       modify for ART-PI smart weather report
 */

#define LED_BLUE  GET_PIN(I, 8)    //blue led
#define LED_RED   GET_PIN(C,15)

#define KEY1_PIN  GET_PIN(A,8)
#define KEY2_PIN  GET_PIN(I,5)
#define KEY3_PIN  GET_PIN(H,4)

extern void key_thread_entry(void);
extern void set_status(uint8_t temp );

extern uint8_t get_conneted(void);
extern void set_conneted(uint8_t temp );

extern int8_t status;
extern uint8_t  wifi_conneted;
